﻿#region Usings

using System;
using System.ComponentModel.DataAnnotations;
using XPressify.Data;

#endregion


namespace XPressify.Models
{

    public class MessageCreateModel
    {
        public Message[] PreviousMessages { get; set; }

        [Required]
        public string Message { get; set; }

        public string CurrentUserName { get; set; }

        public Guid ThreadId { get; set; }

        public User CurrentUser { get; set; }

        public string[] CreatorProfilePicturePath { get; set; }

        public string CurrentUserProfilePicturePath { get; set; }

        public string ThreadSubject { get; set; }

        public bool IsAjaxRequest { get; set; }
    }

    public class MessageSendEmailModel
    {
        public Guid ThreadId { get; set; }

        public User Receiver { get; set; }

        public string Subject { get; set; }

        public string MessageBody { get; set; }

        public string Sender { get; set; }

        public DateTime Created { get; set; }

    }
}